package com.spring.demo.rabbit;

/***
 * @title QueueEnums
 * @description
 * @author baiji
 * @version 1.0.0
 * @create 2023/9/4 10:06
 **/
public interface QueueConst {

    /**
     * 直接发送到队列
     */
    String SIMPLE_QUEUE = "simple.queue";

    /**
     * 完全匹配
     */
    String DIRECT_QUEUE_01 = "direct.queue.01";
    String DIRECT_QUEUE_02 = "direct.queue.02";

    /**
     * fanout
     */
    String FANOUT_QUEUE_01 = "fanout.queue.01";
    String FANOUT_QUEUE_02 = "fanout.queue.02";

    /**
     * topic "#"匹配0个或多个； “*”只匹配一个
     */
    String TOPIC_QUEUE_01 = "topic.queue.01";
    String TOPIC_QUEUE_02 = "topic.queue.02";
    String TOPIC_QUEUE_03 = "topic.queue.03";

    /**
     * 私信队列
     */
    String DEAD_LETTER_QUEUE = "dead.letter.queue";
    String BUSINESS_QUEUE = "business.queue";

    /**
     * 延迟队列
     */
    String DELAY_QUEUE = "delay.queue";
}
